home *** CD-ROM | disk | FTP | other *** search
/ Aminet 35 / Aminet 35 (2000)(Schatztruhe)[!][Feb 2000].iso / Aminet / docs / hyper / BibelNT_Guide2.lha / Install < prev   
Encoding:
Text File  |  1999-07-09  |  1.0 KB  |  67 lines

  1. ; $VER: Installation script for Bibel.guide 1.0 ( 9. Juli 1999)
  2. ; © Dieter Paprocki
  3. ; Created with GoldED 5.0
  4.  
  5. ; check if we are running under correct OS
  6.  
  7. (if (< (/ (getversion) 65536) 38)
  8.  
  9.     (
  10.         (abort "Incorrect OS version (software requires OS 38 or better )!")
  11.     )
  12. )
  13.  
  14. ; error handling
  15.  
  16. (onerror
  17.  
  18.     (if (> @ioerr 0)
  19.  
  20.         (
  21.             (message
  22.  
  23.                 ("An error has occurred during installation. Please check the log file to understand the error.")
  24.             )
  25.         )
  26.     )
  27.  
  28.     (exit (quiet))
  29. )
  30.  
  31. (welcome)
  32.  
  33. (set @default-dest
  34.  
  35.     (askdir
  36.  
  37.         (prompt "Please choose the installation path:")
  38.  
  39.         (help "Installation creates a new folder for Bibel.guide in the path you specify.")
  40.  
  41.         (default @default-dest)
  42.     )
  43. )
  44.  
  45. ; --- insert your code below ---
  46. (makedir "Work:Bibel.guide" (infos))
  47. (copyfiles
  48.  
  49.     (source "Bibel-NT-2.guide:Bibel-NT-2.guide")
  50.  
  51.     (dest "Work:")
  52.  
  53.     (infos)
  54.  
  55.     (confirm)
  56.  
  57.     (newname "Bibel.guide/Bibel-NT-2.guide")
  58.  
  59.     (optional "fail")
  60. (COMPLETE 30)
  61. )
  62.  
  63. ; --- end of your code ---
  64.  
  65. (exit)
  66.  
  67.